package cn.iocoder.yudao.module.product.controller.admin.customermessage.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 客服消息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class CustomerMessageRespVO {

    @Schema(description = "客服消息编号，主键自增", requiredMode = Schema.RequiredMode.REQUIRED, example = "8272")
    @ExcelProperty("客服消息编号，主键自增")
    private Long id;

    @Schema(description = "发送人的用户编号，关联 MemberUserDO 的 id 编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22452")
    @ExcelProperty("发送人的用户编号，关联 MemberUserDO 的 id 编号")
    private Long userId;

    @Schema(description = "评价人名称", example = "王五")
    @ExcelProperty("评价人名称")
    private String userNickname;

    @Schema(description = "评价人头像")
    @ExcelProperty("评价人头像")
    private String userAvatar;

    @Schema(description = "商品 SPU 编号，关联 ProductSpuDO 的 id", requiredMode = Schema.RequiredMode.REQUIRED, example = "3166")
    @ExcelProperty("商品 SPU 编号，关联 ProductSpuDO 的 id")
    private Long spuId;

    @Schema(description = "商品 SPU 名称", example = "李四")
    @ExcelProperty("商品 SPU 名称")
    private String spuName;

    @Schema(description = "是否可见，true:显示false:隐藏")
    @ExcelProperty("是否可见，true:显示false:隐藏")
    private Boolean visible;

    @Schema(description = "消息内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("消息内容")
    private String content;

    @Schema(description = "消息类型", example = "2")
    @ExcelProperty("消息类型")
    private Boolean contentType;

    @Schema(description = "发送类型(1-用户；2-系统；3-客服)", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("发送类型(1-用户；2-系统；3-客服)")
    private Boolean senderType;

    @Schema(description = "回复管理员编号，关联 AdminUserDO 的 id 编号", example = "30542")
    @ExcelProperty("回复管理员编号，关联 AdminUserDO 的 id 编号")
    private Long replyUserId;

    @Schema(description = "回复管理员名称", example = "李四")
    @ExcelProperty("回复管理员名称")
    private String replyUserName;

    @Schema(description = "消息发送时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("消息发送时间")
    private LocalDateTime sendTime;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}